<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">采购订单:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchase_id" style="width: 300px;" data-rule="required" data-source="purchase/index" data-field="sn" class="form-control selectpage" name="row[purchase_id]" type="text" value="{$row.purchase_id|htmlentities}" readonly>
            <img src="{$row.purchase.image}" data-tips-image alt="采购订单" height="33px">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clothbank_id" data-rule="required" data-source="clothbank/index" class="form-control selectpage" name="row[clothbank_id]" type="text" value="{$row.clothbank_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sn')}:</label>
        <div class="col-xs-12 col-sm-8">
        	<input id="c-cut_id" style="width: 300px;" data-source="cut/index" data-field="sn" class="form-control selectpage" type="text" value="{$row.cut_id|htmlentities}" readonly>
        	<img src="{$row.cut.image}" data-tips-image alt="采购订单" height="33px">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Clothtype_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clothtype_id" data-rule="required" data-source="clothtype/index" data-field="sn" class="form-control selectpage" name="row[clothtype_id]" type="text" value="{$row.clothtype_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Color')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-color" class="form-control" name="row[color]" type="text" value="{$row.color|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Used_nums')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-used_nums" class="form-control" name="row[used_nums]" type="number" value="{$row.used_nums|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_nums')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_nums" class="form-control" name="row[goods_nums]" type="number" value="{$row.goods_nums|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchase_sn" class="form-control" name="row[purchase_sn]" type="text" value="{$row.purchase_sn|htmlentities}">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Process_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-process_fee" class="form-control" step="0.01" name="row[process_fee]" type="number" value="{$row.process_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cost_every')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cost_every" class="form-control" step="0.01" name="row[cost_every]" type="number" value="{$row.cost_every|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cost_total')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cost_total" class="form-control" step="0.01" name="row[cost_total]" type="number" value="{$row.cost_total|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shipment_nums')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deliver_nums" class="form-control" name="row[deliver_nums]" type="number" value="{$row.deliver_nums|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>
